import SparkMD5 from 'spark-md5';

export function get(timestamp, body) {
  const appSecret = 'A7tX1ZzRnbRwVRv2Od';
  const md5 = new SparkMD5().append(`${appSecret}timestamp${timestamp}${body == null ? '' : body}`).end();

  return md5;
}
